package com.zl.busschedule

object Test {

  def main(args: Array[String]): Unit = {
    val sites = Map("runoob" -> "www.runoob.com", "baidu" -> "www.baidu.com")

    println(show(sites.get("runsss")))
    println(show(sites.get("runoob")))

  }

  def show(x: Option[String]) = x match {
    case Some(s) => s
    case None => "?"
  }


}
